package com.wingscode.modules.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wingscode.modules.common.entity.AddedSettingPriceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 增值服务类型设置价格
 *
 * @author yan
 */
@Mapper
public interface AddedSettingPriceDao extends BaseMapper<AddedSettingPriceEntity> {
    void deleteByServiceId(@Param("serviceId") Integer serviceId);

    List<AddedSettingPriceEntity> priceList(@Param("addedSettingId") Integer addedSettingId);
}
